package com.example.prison.service;

import com.example.prison.entity.AreaRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

/**
* @author jiang
* @description 针对表【area_record】的数据库操作Service
* @createDate 2023-06-07 10:30:19
*/
public interface AreaRecordService extends IService<AreaRecord> {

    PageInfo<AreaRecord> get(int pageNumber, int pageSize);

    int add(AreaRecord record);

    PageInfo<AreaRecord> getByDefenseSection(int pageNumber, int pageSize, String defenseSection);

    PageInfo<AreaRecord> getByAlarmStatus(int pageNumber, int pageSize, String alarmStatus);

    PageInfo<AreaRecord> getByDeviceNumber(int pageNumber, int pageSize, String deviceNumber);

    PageInfo<AreaRecord> getByTime(int pageNumber, int pageSize, String beginTime, String endTime);
}
